phpseclib3\Net\SFTP D

Total Complexity 553
Dependencies 6
Dependents 1
Total lines 3,654
Lines of code 1,972
Logical lines of code 1,252
Comment lines 1,222
Methods 85
Properties 31

Methods 85

Method Rating Maintainability Complexity Lines of code
put()
D
24
48 153
parseAttributes()
D
30 42 107
get()
D
29
34 125
comparator()
C
41 26 51
readlist()
B
36 22 75
realpath()
B
39 20 66
get_sftp_packet()
B
38 18 68
init_sftp_connection()
B
41 16 52
setstat_recursive()
A
42 15 51
lstat()
A
44 15 46
stat()
A
46 14 40
delete_recursive()
A
44 13 45
__construct()
A
30 5 142
rawlist()
A
47 12 33
update_stat_cache()
A
49 12 29
partial_init_sftp_connection()
A
42 9 53
parseMode()
A
53 10 24
touch()
A
46 9 36
posix_rename()
A
47 9 35
delete()
A
48 9 34
chdir()
A
47 9 34
nlist_helper()
A
52 9 24
filetype()
A
54 8 22
setstat()
A
48 7 32
chmod()
S
50 7 28
rename()
S
50 7 28
get_xstat_cache_prop()
S
57 7 17
statvfs()
S
50 6 28
symlink()
S
50 6 27
readlink()
S
52 5 24
rmdir()
S
53 5 22
mkdir()
S
54 5 20
remove_from_stat_cache()
S
56 5 18
parseLongname()
S
59 5 15
recursiveFilesize()
S
61 5 12
is_writable()
S
56 4 17
is_readable()
S
56 4 17
mkdir_helper()
S
56 4 17
read_put_responses()
S
58 4 15
query_stat_cache()
S
59 4 14
getSupportedVersions()
S
60 4 13
setListOrder()
S
60 4 13
file_exists()
S
61 4 13
send_sftp_packet()
S
57 3 15
stat_helper()
S
59 3 14
close_handle()
S
59 3 14
getSFTPLog()
S
62 3 12
logError()
S
61 3 12
filesize()
S
71 3 5
getSupportedExtensions()
S
66 3 9
precheck()
S
66 3 9
pwd()
S
72 2 6
chown()
S
68 2 6
parseTime()
S
66 2 8
is_dir()
S
68 2 7
getLastSFTPError()
S
78 2 3
is_link()
S
68 2 7
is_file()
S
68 2 7
getNegotiatedVersion()
S
72 2 6
chgrp()
S
68 2 6
append_log()
S
63 1 13
reset_connection()
S
77 1 4
clearStatCache()
S
81 1 3
getSFTPErrors()
S
82 1 3
setPreferredVersion()
S
81 1 3
disconnect_helper()
S
76 1 4
enableDatePreservation()
S
81 1 3
disableDatePreservation()
S
81 1 3
nlist()
S
79 1 3
enableStatCache()
S
81 1 3
reset_sftp()
S
72 1 6
disableArbitraryLengthPackets()
S
81 1 3
disableStatCache()
S
81 1 3
enableArbitraryLengthPackets()
S
81 1 3
enablePathCanonicalization()
S
81 1 3
get_stat_cache_prop()
S
79 1 3
disablePathCanonicalization()
S
81 1 3
filegroup()
S
79 1 3
fileowner()
S
79 1 3
fileperms()
S
79 1 3
filemtime()
S
79 1 3
fileatime()
S
79 1 3
is_writeable()
S
80 1 3
truncate()
S
74 1 4
get_lstat_cache_prop()
S
79 1 3